var should = require('should');
var enterHandler = require('../../../app/servers/rebel/handler/enterHandler');
var config = require('../../config');

suite('测试rebel.enterHandler', function () {
    suite('enter', function () {
        test('进入副本', function (done) {
            var msg = {
                rebel_id: 2001
            };
            var session = {};
            session.uid = config.other_role_id;

            var enter_Handler = new enterHandler();
            enter_Handler.enter(msg, session, function (err, res) {
                // res.code.should.equal(19002);
                done();
            });
        });
    });
});
